<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="UTF-8"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>中醫體質評量系統</title>
<script language="Javascript" type="text/javascript">
function auto_focus(){
	document.loginform.username.focus();
}
</script>
<style type="text/css">
<!--
.button_L
{    width:160px;
		height:61px;
	background-image:url(images/index_10.png);
	border:0px;
	position: relative;

}
.button_R
{    width:160px;
	height:61px;
	background-image:url(images/index_12.png);
	border:0px;
	position: relative;

}
   .input_text {
	height:auto;
	border:none;
	width: 297px;
	font-size: 24px;
}
body {
	background-color: #F5F5F5;
}
-->
</style>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="auto_focus()">
<!-- Save for Web Slices (index.psd) -->
<%
	String sendPW = (String) session.getAttribute("sendPW");
	boolean send = false;
	if (session.isNew() == false){
		try {
			if (sendPW.length() == 6){
				send = true;
				session.setAttribute("sendPW", "null");
			}
		}catch (Exception e){
			session.setAttribute("sendPW", "null");
		}
				
	}
%>
<%
	if (send){
%>
		<script>alert("密碼送到你的信箱");</script>	
<%
	}
%>
<form id="form2" name="loginform" method="post" action="login.do">
<table id="Table_01" width="1025" height="768" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="9">
			<img src="images/index_01.png" width="616" height="285" alt=""></td>
		<td rowspan="10">
			<img src="images/index_02.png" width="408" height="654" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="285" alt=""></td>
	</tr>
	<tr>
		<td colspan="3" rowspan="4">
			<img src="images/index_03.png" width="280" height="143" alt=""></td>
		<td colspan="5">
		<input type="password" name="username" size="15" class="input_text" style="background-image:url(images/index_04.png);">
	  </td>
		<td rowspan="9">
			<img src="images/index_05.png" width="39" height="369" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="40" alt=""></td>
	</tr>
	<tr>
		<td colspan="5">
			<img src="images/index_06.png" width="297" height="32" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="32" alt=""></td>
	</tr>
	<tr>
		<td colspan="5">
		<input type="password" name="password" size="15" class="input_text" style="background-image:  
					url(images/index_07.png);">
	  </td>
		<td>
			<img src="images/spacer.gif" width="1" height="40" alt=""></td>
	</tr>
	<tr>
		<td colspan="5">
			<img src="images/index_08.png" width="297" height="31" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="31" alt=""></td>
	</tr>
	<tr>
		<td rowspan="5">
			<img src="images/index_09.png" width="224" height="226" alt=""></td>
		<td colspan="3">
		<input type="submit" class="button_L" value="">
	  </td>
		<td rowspan="5">
			<img src="images/index_11.png" width="23" height="226" alt=""></td>
		<td colspan="2">
				<input type="reset" class="button_R" value="">
	  </td>
		<td rowspan="5">
			<img src="images/index_13.png" width="10" height="226" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="61" alt=""></td>
	</tr>
	<tr>
		<td colspan="3">
			<img src="images/index_14.png" width="160" height="20" alt=""></td>
		<td colspan="2">
			<img src="images/index_15.png" width="160" height="20" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="20" alt=""></td>
	</tr>
	<tr>
		<td rowspan="3">
			<img src="images/index_16.png" width="6" height="145" alt=""></td>
		<td>
			<a href="registerUser.jsp"><img src="images/index_17.png" alt="" width="50" height="20" border="0"></a></td>
		<td rowspan="3">
			<img src="images/index_18.png" width="104" height="145" alt=""></td>
		<td rowspan="3">
			<img src="images/index_19.png" width="63" height="145" alt=""></td>
		<td rowspan="2">
			<a href="forgetPW.jsp"><img src="images/index_20.png" alt="" width="97" height="21" border="0"></a></td>
		<td>
			<img src="images/spacer.gif" width="1" height="20" alt=""></td>
	</tr>
	<tr>
		<td rowspan="2">
			<img src="images/index_21.png" width="50" height="125" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="1" alt=""></td>
	</tr>
	<tr>
		<td>
			<img src="images/index_22.png" width="97" height="124" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="124" alt=""></td>
	</tr>
	<tr>
		<td colspan="10">
			<img src="images/index_23.png" width="1024" height="38" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="38" alt=""></td>
	</tr>
	<tr>
		<td colspan="10">
			<img src="images/index_24.png" width="1024" height="76" alt=""></td>
		<td>
			<img src="images/spacer.gif" width="1" height="76" alt=""></td>
	</tr>
</table>
</form>
<!-- End Save for Web Slices -->
</body>
</html>